package com.huang.entity.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class HPageResult<T>{

    @ApiModelProperty(value = "返回编码")
    private Integer code;
    @ApiModelProperty(value = "返回消息")
    private String msg;
    @ApiModelProperty(value = "返回对象")
    private List<T> data;
    @ApiModelProperty(value = "分页参数")
    private HPage page;
}
